package org.travel.dal.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.Data;
import org.forbes.comm.entity.BaseEntity;

/**
 * Table: undo_log
 */
@Data
@ApiModel(description="日志")
@TableName("undo_log")
public class UndoLog extends BaseEntity {
    /**
     * Table:     undo_log
     * Column:    branch_id
     * Nullable:  false
     */
    @ApiModelProperty(value = "",example="0")
    private Long branchId;

    /**
     * Table:     undo_log
     * Column:    xid
     * Nullable:  false
     */
    @ApiModelProperty(value = "",example="")
    private String xid;

    /**
     * Table:     undo_log
     * Column:    context
     * Nullable:  false
     */
    @ApiModelProperty(value = "",example="")
    private String context;

    /**
     * Table:     undo_log
     * Column:    log_status
     * Nullable:  false
     */
    @ApiModelProperty(value = "",example="0")
    private Integer logStatus;

    /**
     * Table:     undo_log
     * Column:    log_created
     * Nullable:  false
     */
    @ApiModelProperty(value = "",example="")
    private Date logCreated;

    /**
     * Table:     undo_log
     * Column:    log_modified
     * Nullable:  false
     */
    @ApiModelProperty(value = "",example="")
    private Date logModified;

    /**
     * Table:     undo_log
     * Column:    ext
     * Nullable:  true
     */
    @ApiModelProperty(value = "",example="")
    private String ext;

    /**
     * Table:     undo_log
     * Column:    rollback_info
     * Nullable:  false
     */
    @ApiModelProperty(value = "",example="")
    private byte[] rollbackInfo;
}